-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes for migrating to glfw3.0.4 for the sb6 classes #13
base: master
Are you sure you want to change the base?
Conversation
I could not manage to compile your fork on linux with glfw3 Did you try ? |
Sorry, I tried on Windows, but it should be quick enough for me to try on Linux. Any chance you can share the error log ? regards On Thursday, March 27, 2014 7:37 PM, sajis997 [email protected] wrote: I could not manage to compile your fork on linux with glfw3 |
Here goes the error info 1: ///////////////////////////////////////////// |
Sorry. It is an issue with the Windows build as well. My patch generation process is broken at the moment, but I made a commit to fix this - can you please try this on top of what you have: prabindh@ed8b584 |
Thanks for the effort, now i got something i used to get initially , linker error: ////////////////////////////////////////// I think some changes is necessary inside the CMakeLists.txt. I already have the new version of glfw installed and do we need to refer to it as external library inside the CMakeList.txt ? Thanks |
In CMakeLists.txt we have if(WIN32) The trouble is that the elif(UNIX) bit works out as false on my Linux box. If I replace then it builds ok. |
Having said it builds ok, the programs fail to create an OpenGL context. |
What toolchain are you using to build ? CMake should detect all *nix flavors correctly. http://www.cmake.org/Wiki/CMake_Useful_Variables#System_.26_Compiler_Information |
The attached patch for sb6.h migrates sb6 classes to use glfw3.0.4 package. Build tested with Visual Studio 2012 on Windows 7, with glfw3.0.4 and sb6code.